
// 获取订单
var getOrder = function (callback) {
    api.ajax({
        url : SERVER_URL + '/entity/order/employer',
        method : 'get',
        timeout: 30,
        dataType : 'json',
        cache : false
    }, callback);
};

apiready = function() {
    getOrder(function(orders, err) {
        api.alert({
            msg: orders
        });
    });
};
